package com.example.g_annotation;

@Book(bookName="java编程思想", author={"java", "32"}, price=100, count=21)
public class BookShelf {
//    当仅设置为ElementType.TYPE时，不能在方法上使用
    @Book(bookName="java编程思想", author={"java", "32"}, price=100, count=21)
    public void  method() {}
}
